package com.by.mapper;

import com.by.bean.SProductEnquiry;
import com.by.common.crud.BaseMapper;
import com.by.query.SupplierProductEnquiryQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author Ye QS
 * @version 0.1
 * @className ProductEnquiryMapper
 * @description
 * @date 2024/9/26 14:33
 * @since jdk11
 */
@Mapper
public interface SProductEnquiryMapper extends BaseMapper<SProductEnquiry> {
    List<Map> querySupplierProductEnquiry(SupplierProductEnquiryQuery query);

    /**
     * 查询指定月最大编码
     * @param month
     * @return
     */
    String queryMaxCode(String month);
    /**
     * 查询报价信息
     * @param id
     * @return
     */
    Map queryDetail(int id);
}
